package com.deep.transaction.demo5.dao;


import com.deep.transaction.demo5.pojo.User;

import java.util.List;

public interface UserDao {
    int addUser(User inputUser) throws Exception;

    int deleteUser(Integer userId) throws Exception;

    int updateUser(User inputUser) throws Exception;

    User selectUserById(Integer userId) throws Exception;

    List<User> selectUser() throws Exception;


}
